package com.liancheng.smarthome.bean;

import android.databinding.BaseObservable;
import android.databinding.Bindable;
import android.databinding.ObservableField;
import android.databinding.ObservableInt;

public class ListBeans extends BaseObservable {
    public final ObservableField<String> firstName =
            new ObservableField<>();
    public final ObservableField<String> lastName =
            new ObservableField<>();
    public final ObservableInt age = new ObservableInt();

    public ListBeans() {
    }

    public void buildData(String firstName,String lastName,int age){
        this.firstName.set(firstName);
        this.lastName.set(lastName);
        this.age.set(age);
    }

}